/* eslint-disable */
/*
 *  命名约定：
 *  get开头  ->get请求
 *  add开头  ->post请求，
 *  edit开头 ->post请求
 *  del开头  ->delete请求
 *  未已上面的（get，add，edit，del）开头意味着增删查改都是用的同一个路径
 * */

// 授权api
const userApi = {
  login: '/user/login',
  list: '/user/list',
  add: '/user/add',
  edit: '/user/edit',
  delete: '/user/del',
  logout: '/user/logout'
};
const deptApi = {
  list: '/dept/list',
  add: '/dept/add',
  edit: '/dept/edit',
  delete: '/dept/del',
};
export default {
  userApi,deptApi
};
